Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 805 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 805 Bytes

RichText

RichText is a macOS-specific companion library for SwiftSCAD that adds TextKit-based text generation. This enables proper Unicode support, richer typography, attribute ranges, multi-line text, constrained layout, bounding boxes, glyph-level manipulation and more.

This package also contains a Geometry2D extension for CGPath that can be used for other Core Graphics-related purposes.

let package = Package(
    name: "thingamajig",
    dependencies: [
        .package(url: "https://github.com/tomasf/SwiftSCAD.git", .upToNextMinor(from: "0.8.1")),
        .package(url: "https://github.com/tomasf/RichText.git", from: "0.1.0")
    ],
    targets: [
        .executableTarget(name: "thingamajig", dependencies: ["SwiftSCAD", "RichText"])
    ]
)