Skip to content

tomasf/RichText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"])
    ]
)

About

TextKit-based companion library for SwiftSCAD

Resources

License

Stars

Watchers

Forks

Languages