Sign in

    harfbuzz

    MoonBit port of HarfBuzz.

    harfbuzz
    text
    shaping
    font
    Download zip
    Version
    0.1.0
    License
    Apache-2.0
    Last updated
    6 months ago
    Downloads
    13K

    #harfbuzz.mbt

    MoonBit port of HarfBuzz, the open-source text shaping engine. The original HarfBuzz code is copyrighted by its upstream authors. This repository is distributed under Apache 2.0 by International Digital Economy Academy, and the upstream HarfBuzz notice texts are preserved verbatim in NOTICE.

    #License

    MoonBit-specific code in this repository is licensed under Apache 2.0. See LICENSE for the project license and NOTICE for the concatenated upstream HarfBuzz notice texts.

    #Building

    (Instructions currently mirrored from src/README.mbt.md)

    moon build --target js src/examples/js_svg python3 -m http.server

    Then open:

    http://localhost:8000/src/examples/js_svg/index.html

    #Status

    Port is under active development; see docs/PORTING_PLAN.md for details and current progress.

    #harfbuzz.mbt

    This is the MoonBit port of HarfBuzz. The module name in moon.mod.json is a placeholder and can be updated once the publishing owner is decided.

    #License

    Code in this directory is part of the harfbuzz.mbt project and is licensed under Apache 2.0 by International Digital Economy Academy. See the top-level LICENSE and NOTICE files for the full project license and preserved upstream notices.

    #Examples

    • JS SVG demo: src/examples/js_svg

    moon build --target js src/examples/js_svg python3 -m http.server

    Then open:

    http://localhost:8000/src/examples/js_svg/index.html

    ///|
    test "module version placeholder" {
    inspect(version, content="0.0.0")
    }

    version

    let version : String

    version_atleast

    fn version_atleast(major : Int, minor : Int, micro : Int) -> Bool

    version_major

    let version_major : Int

    Public version string for the module. This is a placeholder while the port is bootstrapped.

    version_micro

    let version_micro : Int

    version_minor

    let version_minor : Int

    version_string

    fn version_string() -> String

    version_tuple

    fn version_tuple() -> (Int, Int, Int)

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io