harfbuzz/8.3.0

HarfBuzz is an OpenType text shaping engine.
Recipe info
2024-04-17

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
harfbuzz/8.3.0

Using harfbuzz

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
harfbuzz/8.3.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("harfbuzz/8.3.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): harfbuzz
  • CMake target name(s): harfbuzz::harfbuzz
  • pkg-config file name(s): harfbuzz.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(harfbuzz REQUIRED)
# ...
target_link_libraries(YOUR_TARGET harfbuzz::harfbuzz)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the harfbuzz homepage listed above:

#include "harfbuzz/hb-aat-layout.h"
#include "harfbuzz/hb-aat.h"
#include "harfbuzz/hb-blob.h"
#include "harfbuzz/hb-buffer.h"
#include "harfbuzz/hb-common.h"
#include "harfbuzz/hb-cplusplus.hh"
#include "harfbuzz/hb-deprecated.h"
#include "harfbuzz/hb-draw.h"
#include "harfbuzz/hb-face.h"
#include "harfbuzz/hb-features.h"
#include "harfbuzz/hb-font.h"
#include "harfbuzz/hb-ft.h"
#include "harfbuzz/hb-glib.h"
#include "harfbuzz/hb-gobject-enums.h"
#include "harfbuzz/hb-gobject-structs.h"
#include "harfbuzz/hb-gobject.h"
#include "harfbuzz/hb-map.h"
#include "harfbuzz/hb-ot-color.h"
#include "harfbuzz/hb-ot-deprecated.h"
#include "harfbuzz/hb-ot-font.h"
#include "harfbuzz/hb-ot-layout.h"
#include "harfbuzz/hb-ot-math.h"
#include "harfbuzz/hb-ot-meta.h"
#include "harfbuzz/hb-ot-metrics.h"
#include "harfbuzz/hb-ot-name.h"
#include "harfbuzz/hb-ot-shape.h"
#include "harfbuzz/hb-ot-var.h"
#include "harfbuzz/hb-ot.h"
#include "harfbuzz/hb-paint.h"
#include "harfbuzz/hb-set.h"
#include "harfbuzz/hb-shape-plan.h"
#include "harfbuzz/hb-shape.h"
#include "harfbuzz/hb-style.h"
#include "harfbuzz/hb-subset-repacker.h"
#include "harfbuzz/hb-subset.h"
#include "harfbuzz/hb-unicode.h"
#include "harfbuzz/hb-version.h"
#include "harfbuzz/hb.h"
#include "hb-aat-layout.h"
#include "hb-aat.h"
#include "hb-blob.h"
#include "hb-buffer.h"
#include "hb-common.h"
#include "hb-cplusplus.hh"
#include "hb-deprecated.h"
#include "hb-draw.h"
#include "hb-face.h"
#include "hb-features.h"
#include "hb-font.h"
#include "hb-ft.h"
#include "hb-glib.h"
#include "hb-gobject-enums.h"
#include "hb-gobject-structs.h"
#include "hb-gobject.h"
#include "hb-map.h"
#include "hb-ot-color.h"
#include "hb-ot-deprecated.h"
#include "hb-ot-font.h"
#include "hb-ot-layout.h"
#include "hb-ot-math.h"
#include "hb-ot-meta.h"
#include "hb-ot-metrics.h"
#include "hb-ot-name.h"
#include "hb-ot-shape.h"
#include "hb-ot-var.h"
#include "hb-ot.h"
#include "hb-paint.h"
#include "hb-set.h"
#include "hb-shape-plan.h"
#include "hb-shape.h"
#include "hb-style.h"
#include "hb-subset-repacker.h"
#include "hb-subset.h"
#include "hb-unicode.h"
#include "hb-version.h"
#include "hb.h"